<div class="post">
    <h1 class="title">Listing Persons</h1>
    <table>
        <thead>
            <tr>
               <td>Name</td>
               <td>Email</td>
            </tr>
        </thead>
            <tbody>
    <? foreach($persons as $person){
    ?>
            <tr>
                <td><?=$person->getName()?></td>
                <td><?=$person->getEmail()?></td>
            </tr>
    <?
    }
    ?>
        </tbody>
    </table>
</div>